const {Service} = require('egg');

class SpUser extends Service {
    async find(uid) {
        return await this.app.mysql.query('SELECT * FROM sp_user WHERE pk_user_id = ?', uid);
        // return await this.app.mysql.select('sp_user');
    }
}

module.exports = SpUser;